/**
 * 
 */
package org.t2.game.server.module.hero.model;

import org.banish.sql.core.annotation.Column;
import org.banish.sql.core.annotation.Table;
import org.banish.sql.core.annotation.enuma.AsyncType;
import org.gaming.service.repository.annotation.JvmCache;
import org.gaming.service.service.jvm.PlayerOneToManyEntity;
import org.springframework.stereotype.Repository;

/**
 * 
 */
@Repository
@JvmCache(relation = { "playerId", "identity" })
@Table(comment = "英雄数据表", dbAlias = "game", asyncType = AsyncType.UPDATE)
public class Hero extends PlayerOneToManyEntity {
	@Column(comment = "英雄标识", readonly = true)
	private int identity;

	public int getIdentity() {
		return identity;
	}

	public void setIdentity(int identity) {
		this.identity = identity;
	}
}
